package com.mysoft.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mysoft.common.entity.Role;
import com.mysoft.common.entity.UserRole;

import java.util.List;

/**
 * @Author: JohnCoding
 * @Description:
 * @date: 2019/12/23 15:17
 */
public interface UserRoleService extends IService<UserRole> {

    /**
     * 通过用户名查找对应角色信息
     * @param userName
     * @return
     */
    List<Role> getRolesByUserName(String userName);

}
